#include <stdio.h>

int f(int n) {
    if (n <= 1) {
        return 1;
    }
    int s = f(n-1) + n;
    return s;
}

int main() {
    int n = 100;
    printf("%d\n", f(n));
    return 0;
}